import unittest

import stackless

import display,world,controller

from event import Event
import charectors

map_=[
        '#######',
        '#  X  #',
        '# $*X #',
        '#  X^ #',
        '#######',
    ]


if __name__=='__main__' :

    #unittest.main()

    display=display.PyGameDisplay()
    world_=world.World(display)
    
    controller=controller.PyGameController(world_)

    import utils
    objs=utils.loadMap(world_,map_)

    stackless.run()
